/**
 * Common constants of all function
 */
export class CommonConstants {
  /**
   *  Screen status change listener ID
   */
  static readonly COMMON_EVENT_SCREEN_CHANGE: number = 2;

  /**
   *  Screen size change listener ID
   */
  static readonly WINDOW_SIZE_CHANGE: number = 1;
  /**
   *  SCAN_FONT_SIZE_SCALE_LIMIT
   */
  static readonly SCAN_FONT_SIZE_SCALE_LIMIT_SYMBOL_TEXT: number = 1.45;

  static readonly EVENT_SCREEN_OFF: boolean = false;
  static readonly EVENT_SCREEN_ON: boolean = true;
  static readonly DELAY_RETRY_SCAN_TIME: number = 100;
  static readonly MAX_RETRY_SCAN_TIMES: number = 3;
}

export enum DisplayRotationAngle {
  ROTATION_0 = 0,
  ROTATION_90 = 1,
  ROTATION_180 = 2,
  ROTATION_270 = 3
}

